body {font-family: 'Microsoft YaHei';}
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    line-height: 0;
    font-size: 0;
}
.clearfix:before, .clearfix:after, .dl-horizontal dd:before, .dl-horizontal dd:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after, .form-horizontal .form-group:before, .form-horizontal .form-group:after, .btn-toolbar:before, .btn-toolbar:after, .btn-group-vertical>.btn-group:before, .btn-group-vertical>.btn-group:after, .nav:before, .nav:after, .navbar:before, .navbar:after, .navbar-header:before, .navbar-header:after, .navbar-collapse:before, .navbar-collapse:after, .pager:before, .pager:after, .panel-body:before, .panel-body:after, .modal-footer:before, .modal-footer:after {
    display: table;
    content: " ";
}
.fl{ float: left }
.fr{ float: right }
.block {display:block }
.inline-block {display:inline-block }
.text-right {text-align: right; }
.well {
    padding-top:10px;
    padding-bottom:10px;
}
.padding-left-25{padding-left:25px;}
.layui-side-menu,
.layadmin-pagetabs .layui-tab-title li:after,
.layadmin-pagetabs .layui-tab-title li.layui-this:after,
.layui-layer-admin .layui-layer-title,
.layadmin-side-shrink .layui-side-menu .layui-nav>.layui-nav-item>.layui-nav-child{background-color:#24262F  !important;}
.layui-nav-tree .layui-this,
.layui-nav-tree .layui-this>a,
.layui-nav-tree .layui-nav-child dd.layui-this,
.layui-nav-tree .layui-nav-child dd.layui-this a{background-color:#1890ff !important;}
.layui-layout-admin .layui-logo{background-color:#3A3D49  !important;}
.layui-nav-itemed>.layui-nav-child{background-color:#000c17!important;}
.layui-nav-tree .layui-nav-bar{background-color:#1890ff;}
.layui-layout-right {right:12px;}

.layui-btn-xs{
    height: 28px;
    line-height: 28px;
    font-size: 14px;
    padding:0 7px;
}
.layui-btn-xs.layui-btn-disabled{
    padding:0 6px;
}
/*按钮间距*/
.layui-btn+.layui-btn{
    margin-left: 5px;
}


/*中按钮*/
.layui-btn-md {
    height: 34px;
    line-height: 34px;
    padding: 0 12px;
    font-size: 14px;
}

.layui-word-aux {
    padding: 0 0 0 1px!important;
}

.layui-layout-admin .layui-layout-left .layui-nav-item{
    margin: 0 10px;
}

.layui-side-menu .layui-nav li a .menu-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    margin-top: -20px;
}
.layui-form-label{
    width: 90px;
}
.layui-input-block{
    margin-left: 120px;
}
#task-content .layui-tab-title {float: left;}

#task-content {
    position: relative;
    float: left;
    overflow: hidden
}
.cmf-component-tabclose-icon {
    /*color: #aaa;*/
    font-size: 18px;
    font-family: 'Helvetica';
}


.layui-input, .layui-select, .layui-textarea{
    color:#333;
}

/*按钮*/
.layui-btn-primary:hover{
    border-color: #1E9FFF;
}

/*复选框*/
/*.layui-form-checked[lay-skin=primary] i {
    border-color: #1e9fff;
    background-color: #1e9fff;
}
.layui-form-checkbox[lay-skin=primary]:hover i{
    border-color: #1E9FFF;   
}*/

/*获取焦点*/
/*.layui-input:focus, .layui-textarea:focus {
    border-color: #1890ff!important;
}*/

/*排序号*/
input.input-order{
    width: 50px;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid #e6e6e6;
    text-align: center;
    height: 28px;
    line-height: 28px;
    box-sizing: border-box;
}
input.input-order:focus{
    border-color: #1E9FFF;
}

/*.label{
    display: inline;
    padding: .3em .6em .3em;
    font-size: 11px;
    color: #fff;
    text-align: center;
    border-radius: .25em;
}
.label-success {
    background-color: #1E9FFF;
    background-color: #3a8eff;
    color: #fff;
}
*/

.form-control{
    color: #555;
}

/*form .layui-card-body{
    padding: 15px;
}*/

form .layui-tab-content .layui-card-body{
    padding-bottom: 0;
}

.form-search .layui-inline{
    margin-right: 5px;
    margin-bottom: 5px;
}
.form-search .layui-input-inline{
    width:auto;
}

.form-search .layui-form-label{
    width:auto;
    padding: 9px 5px;
}
.form-search.layui-form-item{
    margin-bottom:0;
}

/*表格列表复选框*/
.custom-checkbox {
    display: inline-block;
    width: 19px;
    height: 19px;
    position: relative;
    margin-right: 2px;
    top: 1px;
    box-sizing: border-box;
}
.custom-checkbox input[type=checkbox] {
    visibility: hidden;
    margin: 0;
}
.custom-checkbox input[type=checkbox]:checked+label {
    /*border-color: #1e9fff;
    background-color: #1e9fff;*/
    border-color: #5FB878;
    background-color: #5FB878;
}
.custom-checkbox label {
    cursor: pointer;
    position: absolute;
    width: 19px;
    height: 19px;
    padding-left: 0;
    margin-top: -2px;
    top: 0;
    left: 0;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    margin-bottom: 0;
    box-sizing: border-box;
}
.custom-checkbox input[type=checkbox]:checked+label:after {
    -ms-filter: "alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}

.custom-checkbox label:after {
    -ms-filter: "alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    content: '';
    position: absolute;
    width: 14px;
    height: 8px;
    background: 0 0;
    top: 2px;
    left: 2px;
    border: 3px solid #fff;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    box-sizing: border-box;
}


/*分页样式*/
.pagination-row {
    padding: 10px 15px 15px;
    background-color: #fff;
}
.pages {
    background-color: #fff;
    line-height: 32px;
    width: 100%;
    text-align: right;
    padding: 5px 0 0;
    font-size: 14px;
}
.pages span.current {
    color: #1e9fff;
    line-height: 1.42857;
    padding: 6px 5px;
    margin-right: 5px;
}
.pages a {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #555;
    line-height: 1.42857;
    padding: 6px 12px;
    position: relative;
    text-decoration: none;
    margin-right: 5px;
}
.pages a:hover {
    background: #f5f5f5;
}
.pages .pageTotal {
    padding-right: 10px;
}
.pages i.fa {
    font: normal normal normal 16px/1 FontAwesome;
}
.pages a.disabled:hover {
    background-color: #fff; 
    border-color: #ddd; 
    color: #777; 
    cursor: not-allowed; 
}

/*表格列表底部按钮组*/
.marginTB-xs {
    margin-top: 5px!important;
    margin-bottom: 5px!important;
}

.btn-group, .btn-group-vertical {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.btn .caret {
    margin-left: 0;
}
.dropup .caret, .navbar-fixed-bottom .dropdown .caret {
    content: "";
    border-top: 0;
    border-bottom: 4px solid;
}
.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

/*表格列表a标签*/
.layui-table a{
    color:#666;
}

.layui-table a.layui-btn{
    color:#fff;
}
.layui-table a.layui-btn-primary {
    color:#666;
    padding:0 4px;
}
.layui-table a.layui-btn-primary:hover {
    color:#333;
}

.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 1px;
}
.open>.dropdown-menu {
    display: block;
}
.dropdown-menu {
    font-size: 12px;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 94px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}
.dropdown-menu>li>a {
    display: block;
    padding: 4px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}
.dropdown-menu>li>button {
    color: #333;
    width: 100%;
    background: none;
    border: none;
    text-align: center;
    line-height: 28px;
}
.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover,
.dropdown-menu>li>button:hover {
    background: #5FB878;
    color:#fff;
}
.dropdown-menu .divider {
    height: 1px;
    margin: 1px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}

/*layui日期+时间选择器*/
.layui-form-select dl{
    z-index: 1000;
}

/*相册*/
.pic-list li img {
    height: 36px;
    width: 36px;
}
.pic-list li {
    margin-bottom: 5px;
}
.pic-list li input[type=text] {
    display: inline-block;
}

.message-table {
    border-bottom: 1px solid #eee;
}

/*图片推荐尺寸*/
.thumb-size td {
    /*padding: 8px;
    border: 1px solid #ddd;*/
    text-align: center;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
}


/*产品属性*/
.goodsAttr table {
    background: #fff;
}
.goodsAttr table {
    width: 100%;
    max-width: 100%;
}


.goodsAttr .control-label {
    /*padding: 7px 8px 0;*/
    text-align: right;
}

.goodsAttr .form-control,
.catGoodsAttr .form-control{
    display: block;
    width: 100%;
    height: 38px;
    border:1px #e6e6e6 solid;
    background-color: #fff;
    border-radius: 2px;
    padding-left:10px;
    box-sizing: border-box;
}
.goodsAttr table th{
    width: 110px;
}
.goodsAttr table td,.goodsAttr table th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: middle;
}
.goodsAttr td.th-label{
    text-align: right;
    font-weight: bold;
}
.goodsAttr a,
.catGoodsAttr a{
    color:#1e9fff;
}

/*产品分类->产品属性*/
.attr_list select.goods-attr {
    width: auto;
    min-width: 150px;
    display: inline-block;
    margin-bottom: 5px;
}


.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
}

.control-label {
    /*padding-top: 9px;*/
    padding-right: 15px;
    font-weight: 400;
    line-height: 20px;
    display: inline-block;
    text-align: right;
    margin-bottom:5px;
}
@media screen and (min-width: 992px){
    .layui-col-md2.control-label {
        padding-top: 9px;
    }
}
@media screen and (min-width: 1200px){
    .layui-col-lg2.control-label {
        padding-top: 9px;
    }
}

.form-group{
    padding: 0 25px 10px;
}


/*模版->设计*/
.panel-group .panel {
    margin-bottom: 0;
    border-radius: 4px;
}
.panel {
    position: relative;
    background-color: #fff;
    border: 1px solid transparent;
    border-color: #e6e6e6;
    border-top-width: 2px;
}
.theme .panel .panel-heading {
    padding: 15px;
    background: #f5f5f5;
}
.panel-group .panel+.panel {
    margin-top: 15px;
}
.panel-group .panel-heading+.panel-collapse>.panel-body {
    border-top: 1px solid #ddd;
    /*padding-top: 15px;
    padding-right: 15px;*/
    padding: 15px 15px 5px;
}

.Grids9 {
    width: 260px;
}
.Grids9 a {
    float: left;
    width: 80px;
    height: 80px;
    border: solid 2px #ddd;
    display: block;
    line-height: 80px;
    line-height: 70px;
    text-align: center;
    margin: 0 -2px -2px 0;
    z-index: 1;
    position: relative;
}
.Grids9 a.hover {
    background: #5FB878 url(./images/g.png) center center no-repeat;
    color: #fff;
    z-index: 2;
}

.sensitive-word-confirm .is-confirm {
    color: #ff0d0d;
    font-size: 18px;
    padding: 5px 0 0 12px;
}
.sensitive-word-confirm .highlight{
    color:#ff0d0d;
}
